Matthias Clasen [Mon, 3 Apr 2006 15:06:41 +0000 (15:06 +0000)]
Make the default colors const.
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklinkbutton.c: Make the default colors const.
Stanislav Brabec [Mon, 3 Apr 2006 11:25:00 +0000 (11:25 +0000)]
bn.po, br.po, dz.po, es.po, mk.po, ru.po, xh.po: Context translation bug fixes (#336645).
Matthias Clasen [Mon, 3 Apr 2006 05:19:42 +0000 (05:19 +0000)]
Avoid relocations.
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c: Avoid relocations.
Matthias Clasen [Mon, 3 Apr 2006 04:50:18 +0000 (04:50 +0000)]
Reduce size of static buffer.
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkxembed.c (_gtk_xembed_message_name): Reduce size of static
buffer.
Matthias Clasen [Mon, 3 Apr 2006 04:41:05 +0000 (04:41 +0000)]
Avoid relocations.
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktext.c (gtk_text_key_press): Avoid relocations.
Matthias Clasen [Mon, 3 Apr 2006 04:17:10 +0000 (04:17 +0000)]
Allocate the gtk_rc_default_files array dynamically.
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrc.c (gtk_rc_add_initial_default_files)
(gtk_rc_add_default_file): Allocate the gtk_rc_default_files array
dynamically.
Matthias Clasen [Mon, 3 Apr 2006 03:57:29 +0000 (03:57 +0000)]
Avoid relocations for the array of symbol names.
2006-04-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrc.c: Avoid relocations for the array of symbol names.
Matthias Clasen [Mon, 3 Apr 2006 01:41:38 +0000 (01:41 +0000)]
Remove unused strings from the ruler_metrics structs, to avoid
2006-04-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkruler.c: Remove unused strings from the ruler_metrics
structs, to avoid relocations. (#336917, Stephane Chauveau)
Emmanuele Bassi [Sun, 2 Apr 2006 21:33:43 +0000 (21:33 +0000)]
Build the items list after setting the storage file.
2006-04-02 Emmanuele Bassi <ebassi@cvs.gnome.org>
* gtk/gtkrecentmanager.c (gtk_recent_manager_set_filename): Build
the items list after setting the storage file.
* gtk/gtkrecentmanager.c (display_closed): Use the right string
for unsetting the default manager object from the screen.
Alexander Shopov [Sun, 2 Apr 2006 14:03:40 +0000 (14:03 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>
2006-04-02 Alexander Shopov <ash@contact.bg>
* bg.po: Updated Bulgarian translation by
Alexander Shopov <ash@contact.bg>
Behdad Esfahbod [Sun, 2 Apr 2006 01:40:26 +0000 (01:40 +0000)]
Oops. (#336784)
2006-04-01 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkfilesel.c (gtk_file_selection_get_filename): Oops. (#336784)
Behdad Esfahbod [Sat, 1 Apr 2006 20:06:15 +0000 (20:06 +0000)]
Use a GString instead of static buffer to reduce .bss by 8kb. (#336784)
2006-04-01 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkfilesel.c (gtk_file_selection_get_filename): Use a GString
instead of static buffer to reduce .bss by 8kb. (#336784)
Dom Lachowicz [Sat, 1 Apr 2006 16:28:00 +0000 (16:28 +0000)]
Emulate WinXP's drawing of menu separators
Pawan Chitrakar [Sat, 1 Apr 2006 07:08:50 +0000 (07:08 +0000)]
updated with context string removed
Behdad Esfahbod [Sat, 1 Apr 2006 04:48:31 +0000 (04:48 +0000)]
Convert filenames to UTF-8 before printing them out in warning messages.
2006-03-31 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkrecentmanager.c: Convert filenames to UTF-8 before printing
them out in warning messages. (#336770, Morten Welinder)
Behdad Esfahbod [Sat, 1 Apr 2006 00:44:55 +0000 (00:44 +0000)]
Update last_stamp inside the look. (#336771, Morten Welinder)
2006-03-31 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkrecentmanager.c (gtk_recent_info_last_application): Update
last_stamp inside the look. (#336771, Morten Welinder)
Behdad Esfahbod [Sat, 1 Apr 2006 00:28:27 +0000 (00:28 +0000)]
Add missing break. (#336769, Morten Welinder)
2006-03-31 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_get_property):
Add missing break. (#336769, Morten Welinder)
Behdad Esfahbod [Sat, 1 Apr 2006 00:25:00 +0000 (00:25 +0000)]
Return NULL instead of FALSE in g_return_val_if_fail in a
2006-03-31 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkfilesystem.c (gtk_file_system_get_bookmark_label):
* gtk/gtklinkbutton.c (gtk_link_button_new_with_label): Return NULL
instead of FALSE in g_return_val_if_fail in a pointer-returning
function. (#336764, Morten Welinder)
Gora Mohanty [Fri, 31 Mar 2006 21:33:23 +0000 (21:33 +0000)]
configure.in: Added 'or' (Oriya) to ALL_LINGUAS.
ChangeLog: Changed to reflect this.
po/or.po: Added Oriya translation.
po/ChangeLog: Changed to reflect this.
po-properties/or.po: Added Oriya translation.
po-properties/ChangeLog: Changed to reflect this.
Matthias Clasen [Fri, 31 Mar 2006 21:20:14 +0000 (21:20 +0000)]
Don't assert that the age is positive. (#336773, Morten Welinder)
2006-03-31 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrecentmanager.c (gtk_recent_info_get_age): Don't
assert that the age is positive. (#336773, Morten Welinder)
Laurent Dhima [Fri, 31 Mar 2006 08:29:44 +0000 (08:29 +0000)]
Updated Albanian translation.
* sq.po: Updated Albanian translation.
Laurent Dhima [Fri, 31 Mar 2006 08:27:09 +0000 (08:27 +0000)]
Updated Albanian translation.
Matthias Clasen [Fri, 31 Mar 2006 06:31:50 +0000 (06:31 +0000)]
Updates
Matthias Clasen [Fri, 31 Mar 2006 06:09:33 +0000 (06:09 +0000)]
Shrink this
Matthias Clasen [Fri, 31 Mar 2006 05:17:56 +0000 (05:17 +0000)]
Don't leak the keyfile parser in the error case.
2006-03-31 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkicontheme.c (load_icon_data): Don't leak the keyfile
parser in the error case.
* gtk/gtkicontheme.c (load_icon_data, free_unthemed_icon)
(icon_data_free, load_themes):
* gtk/gtkiconcache.c (_gtk_icon_cache_get_icon_data): Use the slice
allocator for GtkIconData and UnthemedIcon structs.
Behdad Esfahbod [Thu, 30 Mar 2006 22:56:09 +0000 (22:56 +0000)]
Fix translation comments for localizable digit formats. (fixes bug
2006-03-30 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkcalendar.c: Fix translation comments for localizable
digit formats. (fixes bug #336650)
Matthias Clasen [Thu, 30 Mar 2006 21:30:37 +0000 (21:30 +0000)]
Fix the doc comment format.
2006-03-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrecentmanager.h (struct _GtkRecentData): Fix the doc
comment format.
* gtk/gtkrecentmanager.c (gtk_recent_manager_has_item)
(gtk_recent_manager_purge_items, gtk_recent_manager_lookup_item)
(gtk_recent_manager_get_limit, gtk_recent_manager_add_full)
(gtk_recent_manager_get_items, gtk_recent_manager_remove_item):
* gtk/gtkrecentfilter.c (gtk_recent_filter_add_age):
* gtk/gtkrecentchooser.c (gtk_recent_chooser_set_show_numbers)
(gtk_recent_chooser_set_sort_func):
* gtk/gtknotebook.h (gtk_notebook_set_tab_detachable): Sync
parameter names between .c and .h files to help gtk-doc.
Matthias Clasen [Thu, 30 Mar 2006 20:59:22 +0000 (20:59 +0000)]
Additions
2006-03-30 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk-sections.txt: Additions
Matthias Clasen [Thu, 30 Mar 2006 20:56:03 +0000 (20:56 +0000)]
Reword docs to help gtk-doc.
2006-03-30 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkregion-generic.c (gdk_region_get_clipbox): Reword
docs to help gtk-doc.
Stanislav Brabec [Thu, 30 Mar 2006 20:43:38 +0000 (20:43 +0000)]
cs.po: Progress bar fix (#336645).
Guntupalli Karunakar [Thu, 30 Mar 2006 20:10:57 +0000 (20:10 +0000)]
Added Dzongkha translations
Matthias Clasen [Thu, 30 Mar 2006 18:52:52 +0000 (18:52 +0000)]
Add recent chooser to the widget gallery
Matthias Clasen [Thu, 30 Mar 2006 18:22:39 +0000 (18:22 +0000)]
Make sure to get an icon window when constructing the fallback_icon. This
2006-03-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkdnd.c (gtk_drag_get_icon): Make sure to get an
icon window when constructing the fallback_icon. This
fixes a crash when dragging icons between screens in
nautilus. (#325751, Hylke van der Schaaf)
Michael David Emmel [Thu, 30 Mar 2006 16:14:18 +0000 (16:14 +0000)]
Added gdk_pixmap_foreign_new_for_screen
Emmanuele Bassi [Thu, 30 Mar 2006 15:49:22 +0000 (15:49 +0000)]
Add documentation for the GtkLinkButton (#336592)
2006-03-30 Emmanuele Bassi <ebassi@cvs.gnome.org>
Add documentation for the GtkLinkButton (#336592)
* docs/reference/tmpl/gtklinkbutton.sgml: Add description
of the GtkLinkButton.
* docs/reference/gtk/migrating-GtkLinkButton.sgml: Guidelines
for migrating code from GnomeHRef to the GtkLinkButton.
* docs/reference/gtk/gtk-docs.sgml:
* docs/reference/gtk/Makefile.am: Build glue for the porting
guide.
Behdad Esfahbod [Thu, 30 Mar 2006 09:07:59 +0000 (09:07 +0000)]
Add testrecentchooser.
Matthias Clasen [Thu, 30 Mar 2006 04:58:15 +0000 (04:58 +0000)]
Make it compile
Matthias Clasen [Thu, 30 Mar 2006 04:08:51 +0000 (04:08 +0000)]
New function to allow wrapping a native pixmap without a server roundtrip.
2006-03-29 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk.symbols:
* gdk/gdkpixmap.h:
* gdk/win32/gdkpixmap-win32.c:
* gdk/x11/gdkpixmap-x11.c (gdk_pixmap_foreign_new_for_screen):
New function to allow wrapping a native pixmap without
a server roundtrip. (#334954, David Baron)
Matthias Clasen [Wed, 29 Mar 2006 21:08:06 +0000 (21:08 +0000)]
Fix some symbol aliasing glitches
Emmanuele Bassi [Wed, 29 Mar 2006 21:01:36 +0000 (21:01 +0000)]
Make gtkalias.h the last included file.
2006-03-29 Emmanuele Bassi <ebassi@cvs.gnome.org>
* gtk/gtkrecentchoosermenu.c: Make gtkalias.h the last included file.
Emmanuele Bassi [Wed, 29 Mar 2006 20:48:56 +0000 (20:48 +0000)]
Fix a typo that broke aliasing rules.
2006-03-29 Emmanuele Bassi <ebassi@cvs.gnome.org>
* gtk/gtk.symbols: Fix a typo that broke aliasing rules.
Richard Hult [Wed, 29 Mar 2006 20:34:33 +0000 (20:34 +0000)]
Add missing CLIPBOARD atom.
2006-03-29 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkproperty-quartz.c: Add missing CLIPBOARD atom.
Emmanuele Bassi [Wed, 29 Mar 2006 20:19:01 +0000 (20:19 +0000)]
Add a migration guide for porting to the new GtkRecent stuff from the old
2006-03-29 Emmanuele Bassi <ebassi@cvs.gnome.org>
* docs/reference/gtk/migrating-GtkRecentChooser.sgml: Add a migration
guide for porting to the new GtkRecent stuff from the old EggRecent
code.
* docs/reference/gtk/tmpl/gtkrecentchooser.sgml:
* docs/reference/gtk/tmpl/gtkrecentchooserdialog.sgml:
* docs/reference/gtk/tmpl/gtkrecentchoosermenu.sgml:
* docs/reference/gtk/tmpl/gtkrecentchooserwidget.sgml:
* docs/reference/gtk/tmpl/gtkrecentfilter.sgml:
* docs/reference/gtk/tmpl/gtkrecentmanager.sgml: Add template files
for the reference guide.
* docs/reference/gtk/gtk-docs.sgml:
* docs/reference/gtk/gtk-sections.txt:
* docs/reference/gtk/Makefile.am: Build glue for add GtkRecent to
the reference guide.
Emmanuele Bassi [Wed, 29 Mar 2006 20:16:44 +0000 (20:16 +0000)]
Import GtkRecent* from libegg.
2006-03-29 Emmanuele Bassi <ebassi@cvs.gnome.org>
Import GtkRecent* from libegg.
* gtk/gtkrecentmanager.[ch]: Add GtkRecentManager, an object
for managing a list of recently used resources.
* gtk/gtkrecentchooser.[ch]:
* gtk/gtkrecentchooserdefault.[ch]:
* gtk/gtkrecentchooserdialog.[ch]:
* gtk/gtkrecentchoosermenu.[ch]:
* gtk/gtkrecentchooserprivate.h:
* gtk/gtkrecentchooserutils.[ch]:
* gtk/gtkrecentchooserwidget.[ch]: Add GtkRecentChooser, a
GTypeInterface for widgets implementing viewers for recently
used resources.
* gtk/gtkrecentfilter.[ch]: GtkRecentFilter, a filter object
for GtkRecentChooser implementations.
* gtk/gtk.h:
* gtk/gtk.symbols:
* gtk/Makefile.am: Build glue for GtkRecent*.
Emmanuele Bassi [Wed, 29 Mar 2006 20:08:23 +0000 (20:08 +0000)]
Add a test suite for GtkRecentChooser.
2006-03-29 Emmanuele Bassi <ebassi@cvs.gnome.org>
* tests/Makefile.am:
* tests/testrecentchooser.c: Add a test suite for GtkRecentChooser.
Emmanuele Bassi [Wed, 29 Mar 2006 20:05:08 +0000 (20:05 +0000)]
Import GtkRecent* from libegg.
2006-03-29 Emmanuele Bassi <ebassi@cvs.gnome.org>
Import GtkRecent* from libegg.
* gtk/gtkrecentmanager.[ch]: Add GtkRecentManager, an object
for managing a list of recently used resources.
* gtk/gtkrecentchooser.[ch]:
* gtk/gtkrecentchooserdefault.[ch]:
* gtk/gtkrecentchooserdialog.[ch]:
* gtk/gtkrecentchoosermenu.[ch]:
* gtk/gtkrecentchooserprivate.h:
* gtk/gtkrecentchooserutils.[ch]:
* gtk/gtkrecentchooserwidget.[ch]: Add GtkRecentChooser, a
GTypeInterface for widgets implementing viewers for recently
used resources.
* gtk/gtkrecentfilter.[ch]: GtkRecentFilter, a filter object
for GtkRecentChooser implementations.
* gtk/gtk.h:
* gtk/gtk.symbols:
* gtk/Makefile.am: Build glue for GtkRecent*.
Matthias Clasen [Wed, 29 Mar 2006 15:20:21 +0000 (15:20 +0000)]
Emit page-added before switch-page
Matthias Clasen [Wed, 29 Mar 2006 05:35:00 +0000 (05:35 +0000)]
Handle double queuing, rather than asserting that it does not happen.
2006-03-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (queue_edited_idle): Handle
double queuing, rather than asserting that it does not
happen. (#330617)
Matthias Clasen [Wed, 29 Mar 2006 03:49:11 +0000 (03:49 +0000)]
*** empty log message ***
Matthias Clasen [Tue, 28 Mar 2006 18:58:05 +0000 (18:58 +0000)]
Fix docs syntax.
2006-03-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_set_tab_detachable): Fix
docs syntax.
Matthias Clasen [Tue, 28 Mar 2006 18:47:43 +0000 (18:47 +0000)]
Syntax fixes.
2006-03-28 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkcellrendereraccel.sgml:
* gtk/tmpl/gtkrc.sgml:
* gtk/directfb.sgml: Syntax fixes.
Matthias Clasen [Tue, 28 Mar 2006 17:28:19 +0000 (17:28 +0000)]
Fix drag-selection after double-click. (#323862, Benjamin Berg)
2006-03-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (gtk_text_view_start_selection_drag):
(selection_motion_event_handler): Fix drag-selection after
double-click. (#323862, Benjamin Berg)
* gtk/gtktextview.c (get_iter_at_pointer): Factor this out
into a function and use it in move_mark_to_pointer_and_scroll,
drag_scan_timeout and selection_motion_event_handler.
(Paolo Borelli)
Matthias Clasen [Tue, 28 Mar 2006 16:01:11 +0000 (16:01 +0000)]
Move the call to gtk_text_view_end_selection_drag() from
2006-03-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (gtk_text_view_do_popup)
(gtk_text_view_grab_notify): Move the call to
gtk_text_view_end_selection_drag() from gtk_text_view_do_popup
to gtk_text_view_grab_notify, so that it works not only
for the text views own popup, but also for other ways in which
we might become grab-shadowed during a selection drag.
(#74620, Li Yuan)
Sven Herzberg [Mon, 27 Mar 2006 23:01:59 +0000 (23:01 +0000)]
reviewed by: Tim Janik
2006-03-28 Sven Herzberg <herzi@gnome-de.org>
reviewed by: Tim Janik
* gtk/gtkpixmap.c: (gtk_pixmap_set): only check for equal colormaps if
the new pixmap is not NULL; fixes a warning when gtk_pixmap_set is
called from gtk_pixmap_finalize (bug 336254)
Anders Carlsson [Mon, 27 Mar 2006 18:46:38 +0000 (18:46 +0000)]
Make the poll func work with real file descriptors. We do this by creating
2006-03-27 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/gdkevents-quartz.c:
(select_thread_func):
(got_fd_activity):
(poll_func):
(gdk_event_translate):
Make the poll func work with real file descriptors.
We do this by creating a thread which calls poll and then
signals the main thread using a run loop source.
* gtk/gtkclipboard-quartz.c:
(-[GtkClipboardOwner pasteboard:provideDataForType:]):
Remove debugging output
Matthias Clasen [Mon, 27 Mar 2006 18:30:22 +0000 (18:30 +0000)]
Check that the widget is viewable. (#336200, Bastian Nocera)
2006-03-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmnemonichash.c (_gtk_mnemonic_hash_activate): Check that
the widget is viewable. (#336200, Bastian Nocera)
Michael Natterer [Mon, 27 Mar 2006 17:00:01 +0000 (17:00 +0000)]
bail out if there is no need for scrolling (more obvious than adding
2006-03-27 Michael Natterer <mitch@imendio.com>
* gtk/gtkmenu.c (gtk_menu_scroll_by): bail out if there is no need
for scrolling (more obvious than adding additional conditions to
the scroll offset calculation). Fixes bug #335912.
Anders Carlsson [Mon, 27 Mar 2006 11:34:43 +0000 (11:34 +0000)]
Add -xobjective-c to cflags. (#335956, Lllian Angel)
2006-03-27 Anders Carlsson <andersca@imendio.com>
* gtk/Makefile.am:
Add -xobjective-c to cflags.
(#335956, Lllian Angel)
* gtk/gtkdnd-quartz.c:
(gtk_drag_dest_set_track_motion):
(gtk_drag_dest_get_track_motion):
Add stubs for new functions.
(#335955, Lillian Angel)
Richard Hult [Mon, 27 Mar 2006 10:47:29 +0000 (10:47 +0000)]
Add more stubs.
2006-03-27 Richard Hult <richard@imendio.com>
* gdk/quartz: Add more stubs.
Alexander Larsson [Mon, 27 Mar 2006 10:20:17 +0000 (10:20 +0000)]
file TODO.printing was initially added on branch gtk-printing.
Michael Natterer [Mon, 27 Mar 2006 10:17:31 +0000 (10:17 +0000)]
add missing ')'.
2006-03-27 Michael Natterer <mitch@imendio.com>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
add missing ')'.
Matthias Clasen [Sun, 26 Mar 2006 06:20:54 +0000 (06:20 +0000)]
Fix a build problem
Matthias Clasen [Sun, 26 Mar 2006 06:15:51 +0000 (06:15 +0000)]
Another leak
Matthias Clasen [Sun, 26 Mar 2006 06:13:17 +0000 (06:13 +0000)]
Fix leaks
Matthias Clasen [Sun, 26 Mar 2006 06:10:15 +0000 (06:10 +0000)]
Fix a leak
Matthias Clasen [Sun, 26 Mar 2006 06:05:57 +0000 (06:05 +0000)]
Another one
Matthias Clasen [Sun, 26 Mar 2006 06:03:31 +0000 (06:03 +0000)]
Small optimization
Alexander Larsson [Fri, 24 Mar 2006 17:08:50 +0000 (17:08 +0000)]
file gtkprinterlpr.c was initially added on branch gtk-printing.
Alexander Larsson [Fri, 24 Mar 2006 17:08:50 +0000 (17:08 +0000)]
file gtkprinterlpr.h was initially added on branch gtk-printing.
Alexander Larsson [Fri, 24 Mar 2006 17:08:50 +0000 (17:08 +0000)]
file gtkprinterpdf.c was initially added on branch gtk-printing.
Alexander Larsson [Fri, 24 Mar 2006 17:08:50 +0000 (17:08 +0000)]
file gtkprinterpdf.h was initially added on branch gtk-printing.
Matthias Clasen [Fri, 24 Mar 2006 15:53:22 +0000 (15:53 +0000)]
Remove a pointless check, pointed out by Kjartan Maraas.
2006-03-24 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Remove a
pointless check, pointed out by Kjartan Maraas.
Matthias Clasen [Fri, 24 Mar 2006 15:06:11 +0000 (15:06 +0000)]
Don't call gdk_window_invalidate_rect() on unrealized widgets. (#335717,
2006-03-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (gtk_text_view_value_changed): Don't call
gdk_window_invalidate_rect() on unrealized widgets. (#335717,
Nicolas Setton)
Tim Janik [Fri, 24 Mar 2006 14:03:45 +0000 (14:03 +0000)]
back out G_GNUC_WARN_UNUSED_RESULT on iterator functions which turned out
Fri Mar 24 14:53:20 2006 Tim Janik <timj@imendio.com>
* gtk/gtktreemodel.h:
* gtk/gtktextbtree.h: back out G_GNUC_WARN_UNUSED_RESULT on iterator
functions which turned out to cause too much trouble.
Ahmad Riza H Nst [Fri, 24 Mar 2006 09:16:49 +0000 (09:16 +0000)]
Updated.
2006-03-24 Ahmad Riza H Nst <rizahnst@eriagempita.co.id>
* id.po: Updated.
Matthias Clasen [Fri, 24 Mar 2006 03:09:08 +0000 (03:09 +0000)]
small update
Matthias Clasen [Thu, 23 Mar 2006 23:35:24 +0000 (23:35 +0000)]
Document <classname> in paths.
2006-03-23 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkrc.sgml: Document <classname> in paths.
Matthias Clasen [Thu, 23 Mar 2006 23:21:30 +0000 (23:21 +0000)]
Support subclasses in RC files. (#142417, Todd Berman, patch based on a
2006-03-23 Matthias Clasen <mclasen@redhat.com>
Support subclasses in RC files. (#142417, Todd Berman, patch
based on a patch by Benjamin Berg)
* gtk/gtkrc.h:
* gtk/gtkrc.c: Support <classname> elements in widget_class paths
in rc files which match any classes derived from named class.
(_gtk_rc_init): Use the new syntax in the default rc string.
* gtk/gtkbindings.c: Support the new syntax for bindings too.
* tests/testrc.c: Tests for widget_class path matching
Carlos Garnacho [Thu, 23 Mar 2006 14:39:56 +0000 (14:39 +0000)]
make sure that gdk_drag_event() is called when track_motion is TRUE to
2006-03-23 Carlos Garnacho <carlosg@gnome.org>
* gtk/gtkdnd.c (gtk_drag_dest_motion): make sure that gdk_drag_event()
is called when track_motion is TRUE to receive drag_motion and
drag_leave events properly.
Matthias Clasen [Wed, 22 Mar 2006 21:11:40 +0000 (21:11 +0000)]
Emit the ::page-removed signal after removing the page. (#335238,
2006-03-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_remove): Emit the ::page-removed
signal after removing the page. (#335238, Christian Persch)
Carlos Garnacho [Wed, 22 Mar 2006 21:09:01 +0000 (21:09 +0000)]
Make it to expand when hovering during DnD
2006-03-22 Carlos Garnacho <carlosg@gnome.org>
* gtk/gtkexpander.c: Make it to expand when hovering during DnD
Matthias Clasen [Wed, 22 Mar 2006 20:33:50 +0000 (20:33 +0000)]
Add some documentation about supported image formats, and how to find out
2006-03-22 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-loader.c: Add some documentation about
supported image formats, and how to find out about them.
(#335536, Murray Cumming)
Matthias Clasen [Wed, 22 Mar 2006 20:20:06 +0000 (20:20 +0000)]
Additions.
2006-03-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Additions.
Matthias Clasen [Wed, 22 Mar 2006 20:17:23 +0000 (20:17 +0000)]
Improved DND support for GtkNotebook (#332991, Carlos Garnacho)
2006-03-22 Matthias Clasen <mclasen@redhat.com>
Improved DND support for GtkNotebook (#332991, Carlos Garnacho)
* gtk/gtk.symbols:
* gtk/gtkdnd.h:
* gtk/gtkdnd.c: Add a track_motion flag on GtkDragDest
with getter and setter, for cases where the drag destination
is interested in drag motion events independent of targets.
* gtk/gtksettings.c (gtk_settings_class_init): Add a setting
for the timeout used when expanding during DND.
* gtk/gtknotebook.c: Use the track_motion flag to switch
notebook tabs when hovering over tabs during DND.
Matthias Clasen [Wed, 22 Mar 2006 20:06:16 +0000 (20:06 +0000)]
Remove some accidentally committed stuff
Matthias Clasen [Wed, 22 Mar 2006 18:46:08 +0000 (18:46 +0000)]
Use fg_gc to draw the inter-row drop highlight. Also draw the line all the
2006-03-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Use fg_gc to
draw the inter-row drop highlight. Also draw the line all the
way across, and flip it in RTL mode. (#334906, Ian McDonald)
Johan Dahlin [Wed, 22 Mar 2006 18:38:47 +0000 (18:38 +0000)]
Add a column that demonstrates how to use the new spinbutton cellrenderer.
* tests/testtreeview.c: Add a column that demonstrates how to use
the new spinbutton cellrenderer.
Matthias Clasen [Wed, 22 Mar 2006 18:10:39 +0000 (18:10 +0000)]
Remove pointless includes of config.h, to make it easier compilable
2006-03-22 Matthias Clasen <mclasen@redhat.com>
* tests/prop-editor.c:
* tests/testtreeview.c: Remove pointless includes of config.h,
to make it easier compilable against system GTK+.
Matthias Clasen [Wed, 22 Mar 2006 17:45:05 +0000 (17:45 +0000)]
Updates.
2006-03-22 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkcellrendererspin.sgml:
* gtk/tmpl/gtkcellrendererprogress.sgml:
* gtk/tmpl/gtkcellrenderercombo.sgml:
* gtk/tmpl/gtkcellrendereraccel.sgml: Updates.
Michael Natterer [Wed, 22 Mar 2006 16:17:52 +0000 (16:17 +0000)]
renamed last-char-timeout to password-hint-timeout and store all its data
2006-03-22 Michael Natterer <mitch@imendio.com>
* gtk/gtkentry.c: renamed last-char-timeout to
password-hint-timeout and store all its data in a struct attached
as QData.
* gtk/gtkcellrendererspin.c: fix typo in #include.
Carlos Garnacho [Wed, 22 Mar 2006 16:11:48 +0000 (16:11 +0000)]
send a GtkWidget** instead of a GtkNotebookPage* when doing tabs DnD, this
2006-03-22 Carlos Garnacho <carlosg@gnome.org>
* gtk/gtknotebook.c: send a GtkWidget** instead of a GtkNotebookPage*
when doing tabs DnD, this allows DnD interaction with other widgets,
added some docs for this too.
* tests/testnotebookdnd.c: add some code to test it.
Matthias Clasen [Wed, 22 Mar 2006 15:28:16 +0000 (15:28 +0000)]
Add a cell renderer which uses a spinbutton to edit the value of a cell.
2006-03-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.symbols:
* gtk/gtkcellrendererspin.h:
* gtk/gtkcellrendererspin.c: Add a cell renderer which
uses a spinbutton to edit the value of a cell. (#156023,
Daniel Kasak, Lorenzo Gil Sanchez, Carlos Garnacho)
* gtk/gtk.h:
* gtk/Makefile.am: Glue it in.
Michael Natterer [Wed, 22 Mar 2006 14:06:40 +0000 (14:06 +0000)]
applied modified patch from maemo-gtk which allows the most recently
2006-03-22 Michael Natterer <mitch@imendio.com>
* gtk/gtkentry.c: applied modified patch from maemo-gtk which
allows the most recently entered character in a hidden entry to be
shown for a configurable period of time. Fixes bug #334560.
Michael Natterer [Wed, 22 Mar 2006 10:39:51 +0000 (10:39 +0000)]
count down from G_MAXUINT to avoid clashes with application-added DND
2006-03-22 Michael Natterer <mitch@imendio.com>
* gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): count down
from G_MAXUINT to avoid clashes with application-added DND
targets.
* gtk/gtktextview.c (gtk_text_view_init): set an empty
GtkTargetList on the drag_dest so it is not NULL when a derived
class' init() function is called.
(gtk_text_view_target_list_notify): copy the text buffer's paste
targets into the view's destinstion target list (preserving
application-added DND targets), instead of replacing the view's
target list. Fixes bug #334399.
Anders Carlsson [Tue, 21 Mar 2006 16:50:47 +0000 (16:50 +0000)]
Add new files.
2006-03-21 Anders Carlsson <andersca@imendio.com>
* gtk/Makefile.am:
Add new files.
* gtk/gtkclipboard-quartz.c: Added.
* gtk/gtkdnd-quartz.c: Added.
* gtk/gtkquartz.c: Added.
* gtk/gtkquartz.h: Added.
Add dnd and clipboard implementations.
Michael Natterer [Tue, 21 Mar 2006 11:52:28 +0000 (11:52 +0000)]
removing trailing \ fixes the build.
2006-03-21 Michael Natterer <mitch@imendio.com>
* gdk/quartz/Makefile.am: removing trailing \ fixes the build.
Anders Carlsson [Tue, 21 Mar 2006 09:36:46 +0000 (09:36 +0000)]
Implement gdk_window_scroll.
2006-03-21 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/gdkgeometry-quartz.c:
(gdk_window_scroll):
Implement gdk_window_scroll.
Anders Carlsson [Tue, 21 Mar 2006 08:02:17 +0000 (08:02 +0000)]
Add the GDK part of the DND implementation.
2006-03-21 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/GdkQuartzWindow.c:
(drag_operation_to_drag_action):
(drag_action_to_drag_operation):
(update_context_from_dragging_info):
(-[GdkQuartzWindow draggingEntered:]):
(-[GdkQuartzWindow draggingEnded:]):
(-[GdkQuartzWindow draggingExited:]):
(-[GdkQuartzWindow draggingUpdated:]):
(-[GdkQuartzWindow performDragOperation:]):
(-[GdkQuartzWindow wantsPeriodicDraggingUpdates]):
(-[GdkQuartzWindow draggedImage:endedAt:operation:]):
* gdk/quartz/gdkdnd-quartz.c:
(gdk_drag_context_finalize):
(gdk_drag_context_init):
(gdk_drag_context_class_init):
(gdk_drag_begin):
(gdk_drag_status):
Add the GDK part of the DND implementation.
* gdk/quartz/Makefile.am:
Add some missing headers.
* gdk/quartz/gdkdrawable-quartz.h:
* gdk/quartz/gdkprivate-quartz.h:
* gdk/quartz/gdkquartz.h:
* gdk/quartz/gdkwindow-quartz.c:
(gdk_quartz_window_get_nsview):
New function, for use by the GTK part of the DND implementation
Anders Carlsson [Tue, 21 Mar 2006 07:49:05 +0000 (07:49 +0000)]
Offset coordinates by 0.5 pixels to get consistant results for both image
2006-03-21 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/gdkdrawable-quartz.c:
(gdk_quartz_ref_cairo_surface):
(gdk_quartz_draw_rectangle):
(gdk_quartz_draw_arc):
(gdk_quartz_draw_polygon):
(gdk_quartz_draw_drawable):
(gdk_quartz_draw_segments):
(gdk_quartz_draw_lines):
(gdk_quartz_draw_pixbuf):
(gdk_quartz_draw_image):
(_gdk_quartz_drawable_get_context):
* gdk/quartz/gdkdrawable-quartz.h:
Offset coordinates by 0.5 pixels to get consistant results for both
image contexts and screen contexts.
Anders Carlsson [Tue, 21 Mar 2006 07:36:54 +0000 (07:36 +0000)]
]): Synthesize GDK_CONFIGURE events when the window position changes.
2006-03-21 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/GdkQuartzWindow.c
([GdkQuartzWindow -windowDidMove:]): Synthesize GDK_CONFIGURE events
when the window position changes.